<?php

namespace App\Model\Home;

use Illuminate\Database\Eloquent\Model;

class Users extends Model
{
    protected $fillable=['name','email'];





    public function  one()
     {
       $id=1;
        return $one=users::paginate(1,['*'],'upage');
        //return $one=users::whereRaw('id=?'2,[$id])->update(['name'=>22999999]);
//       return $one=users::create([
//
//            'email'=>bcrypt('aa120'),
//            'name'=>'11',
//       ]);

     }

}
